[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Hans Hagen via ntg-context
On 8/22/2023 8:51 AM, Andres Conrado Montoya wrote: Apologies, I just found the solution: https://wiki.contextgarden.net/Command/setinjector El lun, 21 ago 2023 a las 23:43, Andres Conrado Montoya (< andresconr...@gmail.com>) escribió: I'm trying to force a page break in a table of co

[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Andres Conrado Montoya
Apologies, I just found the solution: https://wiki.contextgarden.net/Command/setinjector El lun, 21 ago 2023 a las 23:43, Andres Conrado Montoya (< andresconr...@gmail.com>) escribió: > I'm trying to force a page break in a table of contents, using what is > recommende

Re: [NTG-context] injectors not working in LMTX?

2021-06-25 Thread Hans Hagen
On 6/24/2021 6:44 PM, Rik Kabel wrote: In March, Pablo wrote: the following sample (from https://pragma-ade.com/general/manuals/workflows-mkiv.pdf#search=resort) doesn’t get right output with LMTX (current latest from 2021.03.25 14:04): \showinjector \setinjector

Re: [NTG-context] injectors not working in LMTX?

2021-06-24 Thread Rik Kabel
In March, Pablo wrote: the following sample (from https://pragma-ade.com/general/manuals/workflows-mkiv.pdf#search=resort) doesn’t get right output with LMTX (current latest from 2021.03.25 14:04): \showinjector \setinjector[register][3][\column] \setinjector[list][2

[NTG-context] injectors not working in LMTX?

2021-03-25 Thread Pablo Rodriguez
Hans, the following sample (from https://pragma-ade.com/general/manuals/workflows-mkiv.pdf#search=resort) doesn’t get right output with LMTX (current latest from 2021.03.25 14:04): \showinjector \setinjector[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext

[NTG-context] format error with latest 2020-11-16 19:40 with mkiv (luatex)

2020-11-16 Thread Adam Reviczky
}{\v!previous}} 52 %permanent \protected\def\checknextinjector [#1]{\clf_checknextinjector{#1}} 53 %permanent \protected\def\checkpreviousinjector [#1]{\clf_checkpreviousinjector{#1}} 54 \permanent\tolerant\protected\def\setinjector [#1]#*[#2]#*[#3]{\clf_setinjector{#1}{#2}{#3}}

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
ntended (no balancing, full left column). What’s wrong? Can I influence this e.g. with penalties? (Screenshots were too big...) Hraban \setuppapersize[A6] \setupbodyfont[16pt] \setupregister[index][balance=no,indicator=no] \showframe \starttext %\setinjector[index][10][{\column}] %\showin

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
> Am 06.11.2020 um 15:48 schrieb Duncan Hothersall : > > I don't think \showinjector needs an argument. My MWE when I was looking at > this has just \showinjector after the register definition but before the > \setinjector[...] commands. Docs say otherwise. Without argume

Re: [NTG-context] index issues

2020-11-06 Thread Duncan Hothersall
On Fri, 6 Nov 2020 at 14:31, Henning Hraban Ramm wrote: > > > > Am 06.11.2020 um 12:54 schrieb Duncan Hothersall : > > > > Without MWE try \showinjector and \setinjector. > > > > I would add to that that when experimenting with \showinjector you need > to

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
> Am 06.11.2020 um 12:54 schrieb Duncan Hothersall : > > Without MWE try \showinjector and \setinjector. > > I would add to that that when experimenting with \showinjector you need to > have at least one \setinjector as well otherwise it doesn't show the numbers. > I

Re: [NTG-context] index issues

2020-11-06 Thread Henning Hraban Ramm
you can answer some of these without? > > Hello Hraban! > > Without MWE try \showinjector and \setinjector. > > Jano > > I would add to that that when experimenting with \showinjector you need to > have at least one \setinjector as well otherwise it doesn't show the n

Re: [NTG-context] index issues

2020-11-06 Thread Duncan Hothersall
gt; Hello Hraban! > > Without MWE try \showinjector > <https://wiki.contextgarden.net/Command/showinjector> and \setinjector > <https://wiki.contextgarden.net/Command/setinjector>. > > Jano > > I would add to that that when experimenting with \showinjector you need t

Re: [NTG-context] index issues

2020-11-06 Thread Jano Kula
On Fri, 6 Nov 2020 at 12:24, Henning Hraban Ramm wrote: > Hello again, > > still struggling with indexes. > > I’ll prepare MWEs, but maybe you can answer some of these without? > Hello Hraban! Without MWE try \showinjector <https://wiki.contextgarden.net/Command/showinjec

Re: [NTG-context] Fine tuning an index

2020-10-09 Thread Duncan Hothersall
Just a note to add, that \showinjector doesn't seem to do anything unless you also have a \setinjector command, which is a bit counterintuitive since probably the first thing you want to do is see the ID of each line in your list/register before you know what \setinjector command you need. I've

Re: [NTG-context] Fine tuning an index

2020-10-09 Thread Duncan Hothersall
Brilliant, thanks, I didn't know about that one. Much appreciated. Duncan On Thu, 8 Oct 2020 at 21:36, jbf wrote: > Duncan, have you looked at > https://wiki.contextgarden.net/Command/setinjector? > <https://wiki.contextgarden.net/Command/setinjector> > > You might al

Re: [NTG-context] Fine tuning an index

2020-10-08 Thread jbf
Duncan, have you looked at https://wiki.contextgarden.net/Command/setinjector? <https://wiki.contextgarden.net/Command/setinjector> You might also need \showinjector. But it should work for indexes (register). Julian On 9/10/20 2:58 am, Duncan Hothersall wrote: Fine tuning column an

Re: [NTG-context] help with forced page break in TOC

2020-10-05 Thread jbf
Thanks Willi, that is the solution. So I then took a look at \showinjector on the wiki (and \setinjector) and found pretty much what you explained. Pity there isn't a link from the other page to this that I might have found when I first went looking... Is it the case

Re: [NTG-context] help with forced page break in TOC

2020-10-05 Thread Willi Egger
Hello Julian, the mechanism does not work in the typesetting of the TOC. Whatt you is the following, when the book is in a final stage: run the file with \showinjector. This will give you in the left margin the numbers of the different TOC-entries. Now you can say \setinjector[list

Re: [NTG-context] \checkpage in the TOC

2020-08-12 Thread Willi Egger
gt;> inbetween={\checkpage[willi][lines=4]} >> Thank you for advice! >> Kind regards >> Willi >> ] > Here's an example of an actually already quite old mechanism .. > > \showinjector > > \setinjector[register][3][\column] > \setinjector[list][2][{\blank

Re: [NTG-context] \checkpage in the TOC

2020-08-11 Thread Hans Hagen
][lines=4]} Thank you for advice! Kind regards Willi ] Here's an example of an actually already quite old mechanism .. \showinjector \setinjector[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister

Re: [NTG-context] insert pagebreak in toc (MkIV)

2016-09-06 Thread Robert Blackstone
erium=text,extras={1.1=page}] >>> >>>\chapter{x1} >>>\section{xx1} >>>\section{xx2} >>>\chapter{y2} >>>\section{yy1} >>>\section{yy2} >>> >>> \stoptext >>> >>> % &g

Re: [NTG-context] insert pagebreak in toc (MkIV)

2016-09-05 Thread Robert Blackstone
y2} >> >> \stoptext >> >> % >> Compiled with a recent mkiv, from between sept 2015 till july 2016, the >> result shows no page break in the ToC. >> What can be done about this? > > \showinjector > > \setinjec

Re: [NTG-context] insert pagebreak in toc (MkIV)

2016-09-05 Thread Hans Hagen
} \section{xx2} \chapter{y2} \section{yy1} \section{yy2} \stoptext % Compiled with a recent mkiv, from between sept 2015 till july 2016, the result shows no page break in the ToC. What can be done about this? \showinjector \setinjector[register][3][\column

Re: [NTG-context] Forced page break in a TOC

2015-09-08 Thread Hans Hagen
). Any ideas on how to fix the problem? \showinjector \setinjector[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha] first \index

[NTG-context] new mechanism

2014-10-14 Thread Hans Hagen
Hi, As we needed it for a project, I made this: \showinjector \setinjector[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha